package com.mos.iot.mqtt;

import com.mos.iot.mqtt.config.MqttConfig;
import com.mos.iot.mqtt.config.MqttCustomerConfig;
import com.mos.iot.mqtt.listener.annotation.MqttAnnotationScanner;
import org.springframework.boot.autoconfigure.AutoConfigurationPackage;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
@Inherited
@AutoConfigurationPackage
@Import({
    MqttAnnotationScanner.class,
    MqttCustomerConfig.class,
    MqttConfig.class
})
public @interface EnableMqttListener {
}
